package com.yupi.yuojbackendserviceclient.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "backend-checkcode",path = "/api/check")
public interface CheckCodeClient {
    @PostMapping(value = "/verify")
    Boolean verify(@RequestParam("key")String key, @RequestParam("code")String code);
}
